package com.xiao.provider.vo.reqvo;

import lombok.Data;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

/**
 * @Description 用户请求参数VO
 * @Auther: 笑笑是一个码农
 * @Date: 16:14 2020/12/22
 */
@Data
public class UserReqVo {


    @NotBlank(message = "用户名不能为空")
    private String userName;

    @Min(value = 0, message = "年龄不能小于0")
    private int age;

}
